<!--
 * @Descripttion : 
 * @Autor        : Lilong
 * @Date         : 2022-09-14 10:59:33
 * @LastEditTime : 2022-09-14 11:15:54
 * @FilePath     : \src\App.vue
-->
<template>
  <div id="app">
    <h1>父组件</h1>
    <div>{{ msg }}</div>
    <child-component v-model="msg"></child-component>
  </div>
</template>

<script>
import ChildComponent from './ChildComponent'
export default {
  name: 'App',
  data() {
    return {
      msg: 1
    }
  },  
  components:{
    ChildComponent
  }
}
</script>

<style>
</style>
